<?php /* Smarty version Smarty-3.1.8, created on 2014-05-17 16:07:33
         compiled from "C:\wamp\www\Auditorias\views\usuario\index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2385377773e8b6b60-76747359%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd09b5737a4e66c7e33d3527b9fbf6f8dfc6299d2' => 
    array (
      0 => 'C:\\wamp\\www\\Auditorias\\views\\usuario\\index.tpl',
      1 => 1400342834,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2385377773e8b6b60-76747359',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5377773ee0a127_22059930',
  'variables' => 
  array (
    'posts' => 0,
    'datos' => 0,
    'id' => 0,
    '_layoutParams' => 0,
    'paginacion' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5377773ee0a127_22059930')) {function content_5377773ee0a127_22059930($_smarty_tpl) {?><h2>Ultimos Posts</h2>

<?php if (isset($_smarty_tpl->tpl_vars['posts']->value)&&count($_smarty_tpl->tpl_vars['posts']->value)){?>

<table>
    
    <?php  $_smarty_tpl->tpl_vars['datos'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['datos']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['posts']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['datos']->key => $_smarty_tpl->tpl_vars['datos']->value){
$_smarty_tpl->tpl_vars['datos']->_loop = true;
?>
        <?php $_smarty_tpl->tpl_vars['id'] = new Smarty_variable(str_replace(" ","_",$_smarty_tpl->tpl_vars['datos']->value['descrip']), null, 0);?>
    <tr id="<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
">
        
        <td><?php echo $_smarty_tpl->tpl_vars['datos']->value['id_usuario'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['datos']->value['nomina'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['datos']->value['nombre'];?>
 <?php echo $_smarty_tpl->tpl_vars['datos']->value['apellidos'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['datos']->value['username'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['datos']->value['descrip'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['datos']->value['experiencia'];?>
</td>
        <td><a href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root'];?>
usuarios/editar/<?php echo $_smarty_tpl->tpl_vars['datos']->value['id_usuario'];?>
">Editar</a></td>
        <td><a href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root'];?>
usuarios/eliminar/<?php echo $_smarty_tpl->tpl_vars['datos']->value['id_usuario'];?>
">Eliminar</a></td>
    </tr>
    
    <?php } ?>
</table>

<?php }else{ ?>

<p><strong>No hay posts!</strong></p>

<?php }?>

<?php if (isset($_smarty_tpl->tpl_vars['paginacion']->value)){?><?php echo $_smarty_tpl->tpl_vars['paginacion']->value;?>
<?php }?>

<?php if (Session::accessViewStrict(array('admin'))){?>

<p><a href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['root'];?>
usuario/nuevo">Agregar Auditor</a></p>

<?php }?><?php }} ?>